<script>
    mayusculas();
</script>
<?php echo $javascript->link('tooltip'); ?> 
<?php
echo $this->Session->flash();
?>
<?php echo $form->create('FinalProductiveLine'); ?>
<?php echo $form->hidden("FinalProductiveLine.final_evaluation_id"); ?>
<?php echo $form->hidden("FinalProductiveLine.id"); ?>

<table border="1" >
    <tbody>
        <tr>
            <td><?php echo $form->input("FinalProductiveLine.productive_activity_id", array('label' => '', 'empty' => 'Sin registro')); ?></td>
        </tr>
        <tr>
            <td><?php echo $form->input("FinalProductiveLine.area", array('label' => 'Area (ha)')); ?></td>
        </tr>
        <tr>
            <td><?php echo $form->input("FinalProductiveLine.observacion", array('label' => 'Observación')); ?></td>
        </tr>
    </tbody>
</table>
<?php if ($this->Session->read('estado') == 0)
    echo $ajax->submit('Guardar', array('url' => array('controller' => 'FinalProductiveLines', 'action' => 'edit', $this->data['FinalProductiveLine']['final_evaluation_id']), 'update' => 'lineas', 'indicator' => 'loading'));
?>
<?php echo $form->end(); ?>